import instance from "./request"

// 获取验证码请求
export const GetCaptchaCodeApi = () => instance.get("/prod-api/captchaImage");

// 登录请求
export const LoginApi = (params) => instance.post("/prod-api/login", params);

// 获取用户可以访问的路由的api
export const GetUserRoutersApi = () => instance.get("/prod-api/getRouters");

// 获取用户信息
export const GetUserInfoApi = () => instance.get("/prod-api/getInfo");

// 客户管理--客户列表展示
export const GetCustomerListApi = (params) => instance.get("/prod-api/customer", {params});

// 导出表格接口
export const CustomerExportApi = (params,configs) => instance.post("/prod-api/customer/export", params,configs);




// 审核流程定义的接口
export const BpmnInfoApi = (params,configs) => instance.post("/prod-api/business/bpmnInfo", params,configs);